/**
 * TimerJobDao.java
 * Created at 2017-09-14
 * Created by Jackie liu
 * Copyright (C) 2014, All rights reserved.
 */
package com.huabo.dao.inter;

import com.huabo.base.BaseDao;
import com.huabo.model.TimerJob;
import com.huabo.utils.Page;

import java.util.Map;

/**
 * <p>ClassName: TimerJobDao</p>
 * <p>Description: 定时器任务Dao</p>
 * <p>Author: Jackie liu</p>
 * <p>Date: 2017-09-14</p>
 */
public interface TimerJobDao extends BaseDao<TimerJob, Long> {

    public boolean isDuplicateName(Long id, String name);

    public boolean isDuplicateClassAndMethodName(Long id, String className, String methodName);

    public Page<TimerJob> queryPage(Map<String, Object> params);
}